﻿using System;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("enterprise")]
    public partial class Enterprise
    {
        public Enterprise()
        {
            this.Created = DateTime.Now;
            this.Updated = DateTime.Now;
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        [JsonProperty("id")]
        public int Id { get; set; }

        /// <summary>
        /// Desc:企业名称
        /// Default:
        /// Nullable:True
        /// </summary>       
        [SugarColumn(ColumnName = "company_name")]
        [JsonProperty("company_name")]
        public string CompanyName { get; set; }

        /// <summary>
        /// Desc:行业类别
        /// Default:
        /// Nullable:True
        /// </summary>  
        [SugarColumn(ColumnName = "industry_type")]
        [JsonProperty("industry_type")]
        public int IndustryType { get; set; }

        /// <summary>
        /// Desc:联系人
        /// Default:
        /// Nullable:True
        /// </summary>    
        [SugarColumn(ColumnName = "contacts")]
        [JsonProperty("contacts")]
        public string Contacts { get; set; }

        /// <summary>
        /// Desc:联系方式
        /// Default:
        /// Nullable:True
        /// </summary> 
        [SugarColumn(ColumnName = "mobile")]
        [JsonProperty("mobile")]
        public string Mobile { get; set; }

        /// <summary>
        /// Desc:密码
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "password")]
        [JsonProperty("password")]
        public string Password { get; set; }

        /// <summary>
        /// Desc:logo
        /// Default:
        /// Nullable:True
        /// </summary>  
        [SugarColumn(ColumnName = "logo")]
        [JsonProperty("logo")]
        public string Logo { get; set; }

        /// <summary>
        /// Desc:地址
        /// Default:
        /// Nullable:True
        /// </summary>   
        [SugarColumn(ColumnName = "address")]
        [JsonProperty("address")]
        public string Address { get; set; }

        /// <summary>
        /// Desc:邮箱
        /// Default:
        /// Nullable:True
        /// </summary>  
        [SugarColumn(ColumnName = "email")]
        [JsonProperty("email")]
        public string Email { get; set; }

        /// <summary>
        /// Desc:网站
        /// Default:
        /// Nullable:True
        /// </summary>  
        [SugarColumn(ColumnName = "website")]
        [JsonProperty("website")]
        public string Website { get; set; }

        /// <summary>
        /// Desc:通知设置，默认30分钟
        /// Default:30
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "notice")]
        [JsonProperty("notice")]
        public int Notice { get; set; }

        /// <summary>
        /// Desc:审批人
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "examine_epid")]
        [JsonProperty("examine_epid")]
        public string ExamineEpid { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "created")]
        [JsonProperty("created")]
        public DateTime? Created { get; set; }

        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "updated")]
        [JsonProperty("updated")]
        public DateTime? Updated { get; set; }

    }
}
